<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./js/vue.js"></script>
</head>
<body>
    <div id="app">
        {{num}}
        {{n}}
    </div>
    <div id="root">
        {{num}}
    </div>
</body>
<script>
        new  Vue({
            el:"#app", //渲染范围
            data:{  //数据
                num:10,
                n:99
            }
        })
        new  Vue({
            el:"#root", //渲染范围
            data:{  //数据
                num:11
            }
        })

</script>
</html>